package designpatterns.template.hook;


/**
 * 调用端（钩子方法）
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("------开始制作豆浆------");
        PeanutSoyaMilk peanutSoyaMilk = new PeanutSoyaMilk();
        peanutSoyaMilk.make();

        System.out.println("------开始制作豆浆------");
        PureSoyaMilk pureSoyaMilk = new PureSoyaMilk();
        pureSoyaMilk.make();
    }
}
